package com.njit.campuslifeboot.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.njit.campuslifeboot.entity.dto.UserDTO;
import com.njit.campuslifeboot.entity.po.User;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Axin
 * @since 2022-11-07
 */
public interface IUserService extends IService<User> {
    boolean isExist(String username);

    boolean register(UserDTO user);

    boolean login(UserDTO user);

    boolean updateInfo(User user,User one);

    List<User> getUserByIds(List<String> ids);
}
